package com.neuedu.po;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class StoryInfoPO {
	private String stoid;
	private UserinfoPO user;
	private HouseInfoPO house;
	private StoryType stotype;
	private String title;
	private String content;
	private Integer znum;
	private Date pdate;
	private Integer sflag;
	public String getStoid() {
		return stoid;
	}
	public void setStoid(String stoid) {
		this.stoid = stoid;
	}
	public UserinfoPO getUser() {
		return user;
	}
	public void setUser(UserinfoPO user) {
		this.user = user;
	}
	public HouseInfoPO getHouse() {
		return house;
	}
	public void setHouse(HouseInfoPO house) {
		this.house = house;
	}
	public StoryType getStotype() {
		return stotype;
	}
	public void setStotype(StoryType stotype) {
		this.stotype = stotype;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getZnum() {
		return znum;
	}
	public void setZnum(Integer znum) {
		this.znum = znum;
	}
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="Asia/Shanghai")
	public Date getPdate() {
		return pdate;
	}
	public void setPdate(Date pdate) {
		this.pdate = pdate;
	}
	public Integer getSflag() {
		return sflag;
	}
	public void setSflag(Integer sflag) {
		this.sflag = sflag;
	}
	
}
